package com.s4j.core.common;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.moneyP2P.commons.date.DateUtils;

public class MyDateUtils extends DateUtils {
	
	private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd");
	
	private static final SimpleDateFormat DT_FORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

	public static String getCurDate() {
		return DATE_FORMAT.format(new Date());
	}
	
	public static String getCurDateTime() {
		return DT_FORMAT.format(new Date());
	}
}
